package model;

import java.util.ArrayList;

public class PendingTaarifModel {
	ArrayList<ButtonRequest>  appbtnReq=null;
	ArrayList<ButtonRequest>  denbtnReq=null;
	
	/**
	 * This is ButtonRequestModel constructor.
	 * @param btnReq.
	 */
	public PendingTaarifModel()
	{
		if (appbtnReq==null)
			this.appbtnReq=new ArrayList<ButtonRequest>();
		if (denbtnReq==null)
			this.denbtnReq=new ArrayList<ButtonRequest>();
	}
	
	/**
	 * This method returns ArrayList of <ButtonRequest>.
	 * @return ArrayList btnReq.
	 */
	public ArrayList<ButtonRequest> getButtonRequestApp()
	{
		return this.appbtnReq;
	}
	
	public ArrayList<ButtonRequest> getButtonRequestDen()
	{
		return this.denbtnReq;
	}
	/**
	 * This method remove all of ButtonRequest.
	 *
	 */
	
	public  void RemoveButtonRequestApp()
	{
		this.appbtnReq.removeAll(getButtonRequestApp());
	}
	
	public  void RemoveButtonRequestDen()
	{
		this.denbtnReq.removeAll(getButtonRequestDen());
	}


}
